﻿<%@ Page Language="C" MasterPageFile="~/templet/userUpdateTemplet.master" AutoEventWireup="true"
    ValidateRequest="false" CodeFile="private.aspx.cs" Inherits="user_private" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style3
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="tabs_header">
        <ul class="tabs">
            <li><a href="/u/setprofile.aspx"><span>基本信息</span></a></li>
            <li><a href="/u/contractinfo.aspx"><span>联系方式</span></a></li>
            <li><a href="/u/setface.aspx"><span>修改头像</span></a></li>
            <li class="active"><a href="/u/private.aspx"><span>隐私设置</span></a></li>
            <li><a href="/u/changepassword.aspx"><span>修改密码</span></a></li>
        </ul>
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <br>
    设置您的隐私信息<br />
    <br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="font-size: 12px;" valign="top" width="100%">
                <tr>
                    <td width="30px" style="text-align: right">
                        <asp:CheckBox ID="open" runat="server" OnCheckedChanged="open_CheckedChanged" AutoPostBack="True" />
                    </td>
                    <td>
                        完全公开
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        &nbsp;
                    </td>
                    <td>
                        <div style="border: 2px solid ccc; padding: 15px; line-height: 20px; width: 250px;
                            background: fafafa;">
                            允许任何人添加我为好友，对所有注册用户都可以，信息全部公开。</div>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        <asp:CheckBox ID="smallopen" runat="server" AutoPostBack="True" OnCheckedChanged="smallopen_CheckedChanged" />
                    </td>
                    <td>
                        部分公开，需要验证
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        &nbsp;
                    </td>
                    <td>
                        <div style="border: 2px solid ccc; padding: 15px; line-height: 20px; width: 250px;
                            background: fafafa;">
                            允许任何人添加我为好友，但需要我的同意，只有好友能够查看我的信息。</div>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        <asp:CheckBox ID="notopen" runat="server" AutoPostBack="True" OnCheckedChanged="notopen_CheckedChanged" />
                    </td>
                    <td>
                        私密
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        &nbsp;
                    </td>
                    <td>
                        <div style="border: 2px solid ccc; padding: 15px; line-height: 20px; width: 250px;
                            background: fafafa;">
                            完全保密状态，不允许别人加我为好友，对所有用户不可见。</div>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" CssClass="btn_green" Text="保存" OnClick="Button1_Click" />
                        <asp:Label ID="savemsg" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            </span>
        </ContentTemplate>
    </asp:UpdatePanel>
    </span>
</asp:Content>
